package com.nova.edc.model.system;

import com.nova.frame.annotation.Id;
import com.nova.frame.annotation.Join;
import com.nova.frame.annotation.Table;
import com.nova.frame.annotation.Transient;
import com.nova.module.filter.annotation.FilterCondition;
import com.nova.module.filter.query.FilterMode;

/**
 * 2015-12-14
 *
 * @author Administrator
 */
@Table("t_point_light")
public class PointLight {


    @Id
    private Integer id;
    private Integer tralightid;
    @FilterCondition(filterMode = FilterMode.LIKE)
    private String tralightcode;
    @Transient
    @Join(fieldName = "tralightid", table = DeviceLight.class, joinColumn = "LightName")
    private String tralightname;
    @Transient
    @Join(fieldName = "tralightid", table = DeviceLight.class, joinColumn = "Power")
    private String trapower;
    private Integer tranum;
    private Integer ledlightid;
    @FilterCondition(filterMode = FilterMode.LIKE)
    private String ledlightcode;
    @Transient
    @Join(fieldName = "ledlightid", table = DeviceLight.class, joinColumn = "LightName")
    private String ledlightname;
    @Transient
    @Join(fieldName = "ledlightid", table = DeviceLight.class, joinColumn = "Power")
    private String ledpower;
    private Integer lednum;
    @FilterCondition
    private Integer pointid;
    @FilterCondition
    private Integer customerinfoid;
    @FilterCondition
    private Integer areaid;
    private Integer reallighttype;

    public String getTrapower() {
        return trapower;
    }

    public void setTrapower(String trapower) {
        this.trapower = trapower;
    }

    public String getLedpower() {
        return ledpower;
    }

    public void setLedpower(String ledpower) {
        this.ledpower = ledpower;
    }

    public Integer getReallighttype() {
        return reallighttype;
    }

    public void setReallighttype(Integer reallighttype) {
        this.reallighttype = reallighttype;
    }

    public String getTralightname() {
        return tralightname;
    }

    public void setTralightname(String tralightname) {
        this.tralightname = tralightname;
    }

    public String getLedlightname() {
        return ledlightname;
    }

    public void setLedlightname(String ledlightname) {
        this.ledlightname = ledlightname;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTralightid() {
        return tralightid;
    }

    public void setTralightid(Integer tralightid) {
        this.tralightid = tralightid;
    }

    public String getTralightcode() {
        return tralightcode;
    }

    public void setTralightcode(String tralightcode) {
        this.tralightcode = tralightcode;
    }

    public Integer getTranum() {
        return tranum;
    }

    public void setTranum(Integer tranum) {
        this.tranum = tranum;
    }

    public Integer getLedlightid() {
        return ledlightid;
    }

    public void setLedlightid(Integer ledlightid) {
        this.ledlightid = ledlightid;
    }

    public String getLedlightcode() {
        return ledlightcode;
    }

    public void setLedlightcode(String ledlightcode) {
        this.ledlightcode = ledlightcode;
    }

    public Integer getLednum() {
        return lednum;
    }

    public void setLednum(Integer lednum) {
        this.lednum = lednum;
    }

    public Integer getPointid() {
        return pointid;
    }

    public void setPointid(Integer pointid) {
        this.pointid = pointid;
    }

    public Integer getCustomerinfoid() {
        return customerinfoid;
    }

    public void setCustomerinfoid(Integer customerinfoid) {
        this.customerinfoid = customerinfoid;
    }

    public Integer getAreaid() {
        return areaid;
    }

    public void setAreaid(Integer areaid) {
        this.areaid = areaid;
    }


}
